package com.inspiration.utils;

import java.util.LinkedList;
import java.util.List;

/**
 * @Description
 * @Author Vincent.jiao
 * @Date 2023/11/6 10:27
 */
public class ArraysUtils {
    public static <T> List<Long> asList(T... a) {
        List<Long> list = new LinkedList<>();
        for (int i = 0; i < a.length; i++) {
            list.add(Long.valueOf(i));
        }

        return list;
    }
}
